package com.mashibing.bio.tomcat.servlet;

import com.mashibing.bio.tomcat.http.MyHttpServlet;
import com.mashibing.bio.tomcat.http.MyRequest;
import com.mashibing.bio.tomcat.http.MyResponse;

/**
 * @Author: JLL
 * @Date: 2019/10/26 18:12
 */
public class MyServlet extends MyHttpServlet {

    @Override
    public void doGet(MyRequest request, MyResponse response) throws Exception {
        response.write("doGet tomcat");
    }

    @Override
    public void doPost(MyRequest request, MyResponse response) throws Exception {
        response.write("doPost tomcat");
    }
}
